Component org.nuxeo.ecm.platform.comment.defaultPermissions
In bundle org.nuxeo.ecm.platform.comment
Contributions
- org.nuxeo.ecm.platform.comment.defaultPermissions--factoryBinding
- org.nuxeo.ecm.platform.comment.defaultPermissions--permissions
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.comment.defaultPermissions">
<require>org.nuxeo.ecm.core.security.defaultPermissions</require>
<require>org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib</require>
<extension target="org.nuxeo.ecm.core.security.SecurityService"
point="permissions">
<permission name="Comment">
<include>WriteLifeCycle</include>
</permission>
<permission name="Moderate" />
</extension>
<extension
target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
point="factoryBinding">
<factoryBinding name="CommentRootFactory" factoryName="SimpleTemplateFactory"
targetType="CommentRoot">
<acl>
<ace granted="true" permission="AddChildren" principal="members"/>
<ace granted="true" permission="RemoveChildren" principal="members"/>
</acl>
</factoryBinding>
</extension>
</component>